<!DOCTYPE html>
<%@page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="EF" uri="/WEB-INF/framework/tlds/EF-2.0.tld" %>
<% String actionUrl = request.getContextPath() + "/DispatchAction.do";%>
<html>
<EF:EFHead includeDefault="true">
<script type="text/javascript" src="./ZM/zm.js"></script>
</EF:EFHead>
<EF:EFBody>
	<EF:EFForm id="ZMCP15"  method="POST" action="<%=actionUrl%>">
	
		<EF:EFInput type="hidden" ename="fdProfessionalplanId" cname="专业计划ID" />
		<EF:EFInput type="hidden" ename="fdProduceplanId" cname="生产计划ID" />
		<EF:EFInput type="hidden" ename="fdPlanYear" cname="年份" />
		<EF:EFInput type="hidden" ename="fdPlanMonth" cname="月份" />
		<EF:EFInput type="hidden" ename="fdPlanStatus" cname="状态" />
		
		<div id="ef_tab_y" lastRange="98%" eftabWidth="100%" eftabType="efRoundDivTab">
			<div id="zc" title="钻尺施工" efRemember="yes">
				<div id="ef_region_zc" style="overflow: scroll;">
					<div id="ef_grid_zc" style="overflow:hidden;height:320px;" title="页面信息"></div>
				</div>
			</div>
			<div id="zk" title="零星钻孔"  efRemember="yes">
				<div id="ef_region_zk" style="overflow: hidden;border-width:0px;padding:0px">
					<div id="ef_grid_zk" title="页面信息" style="overflow: hidden; height:320px;"></div>
				</div>  
			</div>
			<div id="glaz" title="管道安装" efRemember="yes">
				<div id="ef_region_glaz" style="overflow: hidden;border-width:0px;padding:0px">
					<div id="ef_grid_glaz" title="页面信息" style="overflow: hidden; height:320px;"></div>
				</div>  
			</div>
		</div>
		<EF:EFRegion />
		
 		<EF:EFGrid blockId="result" paintId="ef_grid_zc" serviceName="ZMCP15" readonly="false"  queryMethod="query"  autoDraw="no" ajax="true" style ="operationBar:true;">
			<EF:EFComboColumn ename="fdDepartmentId" cname="*施工部门" width="350" nullable="false" blockName="cmes.cp.department" labelProperty="orgName" valueProperty="orgCode" ></EF:EFComboColumn>
			<EF:EFColumn ename="fdBb" cname="班组" width="100" ></EF:EFColumn>
			<EF:EFColumn ename="fdPlanValue" cname="计划米"  enable="false" width="80" ></EF:EFColumn>
			<EF:EFColumn ename="fdZjs" cname="钻机数(台)" validateRegex="/^\d{1,5}$/" validateErrorPrompt="输入长度不超过5位的整数" width="100" ></EF:EFColumn>
			<EF:EFColumn ename="fdRs" cname="人数(个)" validateRegex="/^\d{1,5}$/" validateErrorPrompt="输入长度不超过5位的整数" width="80" ></EF:EFColumn>
			<EF:EFColumn ename="fdDd" cname="地点" width="120" ></EF:EFColumn>
			<EF:EFComboColumn ename="fdHoleType" cname="钻孔类型" width="100" blockName="cmes.cp.holeType" labelProperty="display" valueProperty="value" ></EF:EFComboColumn>
			<EF:EFColumn ename="fdPlanSx" cname="上旬预计(m)" validateRegex="/^\d{1,5}$/" validateErrorPrompt="输入长度不超过5位的整数" width="80" ></EF:EFColumn>
			<EF:EFColumn ename="fdPlanZx" cname="中旬预计(m)" validateRegex="/^\d{1,5}$/" validateErrorPrompt="输入长度不超过5位的整数" width="80" ></EF:EFColumn>
			<EF:EFColumn ename="fdPlanXx" cname="下旬预计(m)" validateRegex="/^\d{1,5}$/" validateErrorPrompt="输入长度不超过5位的整数" width="80" ></EF:EFColumn>
			<EF:EFColumn ename="fdRemarks" cname="备注" width="80" ></EF:EFColumn>
		</EF:EFGrid>
		
		<EF:EFGrid blockId="result" paintId="ef_grid_zk" serviceName="ZMCP16" readonly="false"  queryMethod="query"  autoDraw="no" ajax="true" style ="operationBar:true;">
		<EF:EFComboColumn ename="fdDepartmentId" cname="*施工部门" width="350" nullable="false" blockName="cmes.cp.department" labelProperty="orgName" valueProperty="orgCode" ></EF:EFComboColumn>
			<EF:EFColumn ename="fdDd" cname="工程地点" width="120" ></EF:EFColumn>
			<EF:EFComboColumn ename="fdHoleType" cname="钻孔类型" width="100" blockName="cmes.cp.holeType" labelProperty="display" valueProperty="value" ></EF:EFComboColumn>
			<EF:EFColumn ename="fdHoleLength" cname="数量(个)" validateRegex="/^\d{1,5}$/" validateErrorPrompt="输入长度不超过5位的整数" width="80" ></EF:EFColumn>
			<EF:EFColumn ename="fdKs" cname="孔深(m)" validateRegex="/^\d{1,5}$/" validateErrorPrompt="输入长度不超过5位的整数" width="80" ></EF:EFColumn>
			<EF:EFColumn ename="fdZcl" cname="钻尺量(m)" validateRegex="/^\d{1,5}$/" enable="false" validateErrorPrompt="输入长度不超过5位的整数" width="80" ></EF:EFColumn>
			<EF:EFColumn ename="fdRemarks" cname="备注" width="80" ></EF:EFColumn>
		</EF:EFGrid>
		
		<EF:EFGrid blockId="result" paintId="ef_grid_glaz" serviceName="ZMCP17" readonly="false"  queryMethod="query"  autoDraw="no" ajax="true" style ="operationBar:true;">
			<EF:EFComboColumn ename="fdDepartmentId" cname="*施工部门" width="350" nullable="false" blockName="cmes.cp.department" labelProperty="orgName" valueProperty="orgCode" ></EF:EFComboColumn>
			<EF:EFColumn ename="fdDd" cname="工程地点" width="120" ></EF:EFColumn>
			<EF:EFColumn ename="fdGj" cname="管径(mm)" width="100" ></EF:EFColumn>
			<EF:EFColumn ename="fdPscd" cname="铺设长度(m)"  validateRegex="/^((^\d{0,8}$)|(^\d{1,8}\.\d{0,4}$)|(^0\.\d{0,4}$))$/" validateErrorPrompt="输入整数位不超过10位，小数位不超过4位的数字" width="80" ></EF:EFColumn>
			<EF:EFColumn ename="fdAzcd" cname="安装长度(m)" validateRegex="/^((^\d{0,8}$)|(^\d{1,8}\.\d{0,4}$)|(^0\.\d{0,4}$))$/" validateErrorPrompt="输入整数位不超过10位，小数位不超过4位的数字" width="80" ></EF:EFColumn>
			<EF:EFColumn ename="fdGdlx" cname="管道类型" width="80" ></EF:EFColumn>
			<EF:EFComboColumn ename="fdAzdwId" cname="安装队伍" blockName="cmes.cp.department" labelProperty="orgName" valueProperty="orgCode" ></EF:EFComboColumn>
			<EF:EFColumn ename="fdGclx" cname="管材" width="180" ></EF:EFColumn>
			<EF:EFColumn ename="fdRemarks" cname="备注" width="200" ></EF:EFColumn>
		</EF:EFGrid>
 		<EF:EFTab tabId="y" action="fundiv"/>
		<script type="text/javascript">
			var frames = $("#ef_tab_y iframe");
			if(window.parent != window && window.parent.hideSubPageHead == true) {
				$("#ef_tab_y").css("padding-top", "8px").css("padding-left", "4px");
			}
			onSubPageLoad = function(wnd) {
				for(var i=0; i<frames.length; i++) {
					if (frames[i].contentWindow == wnd) {
						adjustFrameHeight(frames[i]);
						break;
					}
				}
			}
			adjustFrameHeight = function(frame) {
				var oldHeight = $(frame).height();
				$(frame).css("border", "0");
				$("#jquery_tab_div_content").css("border", "0");
				var height = frame.contentWindow.document.body.scrollHeight;
				if (height > oldHeight) {
					$(frame).css("height", height);
				}
				if(window.parent != window && window.parent.hideSubPageHead == true) {
					var pFrames = window.parent.frames;
					for(var i=0; i<pFrames.length; i++) {
						if (pFrames[i].contentWindow == window) {
							window.parent.adjustFrameHeight(pFrames[i]);
							break;
						}
					}
				}
			}
			</script>
	</EF:EFForm>
</EF:EFBody>
</html>
